package com.xinqi.modules.file;

import lombok.extern.log4j.Log4j2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup;
import org.springframework.context.annotation.ComponentScan;

/**
 * 文件服务启动
 * @author dzy
 */
@Log4j2
@SpringBootApplication
@ComponentScan(basePackages = {"com.xinqi.common.mybatis","com.xinqi"})
public class FileApplication {

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(FileApplication.class);
        application.setApplicationStartup(new BufferingApplicationStartup(2048));
        application.run(args);
        log.info("(♥◠‿◠)ﾉﾞ  文件服务启动成功   ლ(´ڡ`ლ)ﾞ  ");
    }

}
